package com.hb.trans.mvp.model

import com.basiclib.base.BaseModel
import com.hb.trans.api.EndPoints
import com.hb.trans.bean.Base
import com.hb.trans.bean.New
import com.hb.trans.mvp.contract.NewListContract
import io.reactivex.Observable
import javax.inject.Inject

class NewListModel @Inject constructor(var api: EndPoints) : BaseModel(), NewListContract.Model {
    override fun getNewList(label: String): Observable<Base<MutableList<New>>> {
        return api.getNewList(label)
    }

}
